# # text 文本验证码
# # image 验证码图片二进制流
# from zmeiduo.utils.libs.captcha.captcha import captcha
#
# text, image = captcha.generate_captcha()
#
# print('验证码的内容是:', text)
#
# # 将验证码图片二进制流 存入图片
# with open('demo.png', 'wb') as f:
#     f.write(image)